package com.czl.module_storehouse.bean;

import java.util.List;

/**
 * @author xubin
 */
public class PurchaseBean {

    private String cardName;
    private String cardNo;
    private String contractPhoneNumber;
    private String contractUserName;
    private int excuteCompanyId;
    private String excuteCompanyName;
    private String excuteCompanyShortName;
    private int excuteOrganizationId;
    private String organizationId;
    private int excuteUserId;
    private String excuteUserName;
    private int isMove;
    private String parentCompanyId;
    private String parentCompanyName;
    private String parentCompanyShortName;
    private int projectId;
    private String projectName;
    private int purchaseCardId;
    private String purchaseMoney;
    private String purchaseTime;
    private int purchaseType;
    private int supplyCompanyId;
    private String supplyCompanyName;
    private int supplyType;
    private List<PurchaseProjectListBean> cardProjectList;

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getExcuteCompanyShortName() {
        return excuteCompanyShortName;
    }

    public void setExcuteCompanyShortName(String excuteCompanyShortName) {
        this.excuteCompanyShortName = excuteCompanyShortName;
    }

    public String getParentCompanyShortName() {
        return parentCompanyShortName;
    }

    public void setParentCompanyShortName(String parentCompanyShortName) {
        this.parentCompanyShortName = parentCompanyShortName;
    }

    public String getSupplyCompanyName() {
        return supplyCompanyName;
    }

    public String getSupplyCompanyNameStr() {
        if (supplyType == 0) {
            return supplyCompanyName;
        }
        return contractUserName;
    }

    public void setSupplyCompanyName(String supplyCompanyName) {
        this.supplyCompanyName = supplyCompanyName;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getContractPhoneNumber() {
        return contractPhoneNumber;
    }

    public void setContractPhoneNumber(String contractPhoneNumber) {
        this.contractPhoneNumber = contractPhoneNumber;
    }

    public String getContractUserName() {
        return contractUserName;
    }

    public void setContractUserName(String contractUserName) {
        this.contractUserName = contractUserName;
    }

    public int getExcuteCompanyId() {
        return excuteCompanyId;
    }

    public void setExcuteCompanyId(int excuteCompanyId) {
        this.excuteCompanyId = excuteCompanyId;
    }

    public String getExcuteCompanyName() {
        return excuteCompanyName;
    }

    public void setExcuteCompanyName(String excuteCompanyName) {
        this.excuteCompanyName = excuteCompanyName;
    }

    public int getExcuteOrganizationId() {
        return excuteOrganizationId;
    }

    public void setExcuteOrganizationId(int excuteOrganizationId) {
        this.excuteOrganizationId = excuteOrganizationId;
    }

    public int getExcuteUserId() {
        return excuteUserId;
    }

    public void setExcuteUserId(int excuteUserId) {
        this.excuteUserId = excuteUserId;
    }

    public String getExcuteUserName() {
        return excuteUserName;
    }

    public void setExcuteUserName(String excuteUserName) {
        this.excuteUserName = excuteUserName;
    }

    public int getIsMove() {
        return isMove;
    }

    public void setIsMove(int isMove) {
        this.isMove = isMove;
    }

    public String getParentCompanyId() {
        return parentCompanyId;
    }

    public void setParentCompanyId(String parentCompanyId) {
        this.parentCompanyId = parentCompanyId;
    }

    public String getParentCompanyName() {
        return parentCompanyName;
    }

    public void setParentCompanyName(String parentCompanyName) {
        this.parentCompanyName = parentCompanyName;
    }

    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public int getPurchaseCardId() {
        return purchaseCardId;
    }

    public void setPurchaseCardId(int purchaseCardId) {
        this.purchaseCardId = purchaseCardId;
    }

    public String getPurchaseMoney() {
        return purchaseMoney;
    }

    public void setPurchaseMoney(String purchaseMoney) {
        this.purchaseMoney = purchaseMoney;
    }

    public String getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(String purchaseTime) {
        this.purchaseTime = purchaseTime;
    }

    public int getPurchaseType() {
        return purchaseType;
    }

    public void setPurchaseType(int purchaseType) {
        this.purchaseType = purchaseType;
    }

    public int getSupplyCompanyId() {
        return supplyCompanyId;
    }

    public void setSupplyCompanyId(int supplyCompanyId) {
        this.supplyCompanyId = supplyCompanyId;
    }

    public int getSupplyType() {
        return supplyType;
    }

    public void setSupplyType(int supplyType) {
        this.supplyType = supplyType;
    }

    public List<PurchaseProjectListBean> getCardProjectList() {
        return cardProjectList;
    }

    public void setCardProjectList(List<PurchaseProjectListBean> cardProjectList) {
        this.cardProjectList = cardProjectList;
    }

}
